<?php 
/*
 module:		友情链接控制器
 create_time:	2022-08-21 10:24:36
 author:		
 contact:		
*/

namespace App\Model\admin;
use Hyperf\DbConnection\Model\Model;

class LinkModel extends Model {


	protected $connection = 'default';

 	protected $primaryKey = 'link_id';

	protected $table = 'link';

	public $timestamps = false;

	protected $guarded = [];

	function linkcata(){
		return $this->hasOne(\App\Model\admin\LinkcataModel::class,'linkcata_id','linkcata_id');
	}





}



